package co.com.javeriana.aes.oms.orders.service;

import co.com.javeriana.aes.oms.common.entity.Orders;
import java.util.List;
import javax.ejb.Local;
import javax.persistence.NoResultException;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */
@Local
public interface OrdersServiceBeanLocal {

    public List<Orders> getOrders();

    public Orders getOrderById(Integer id) throws NoResultException;

    public List<Orders> getOrderByProductID(Integer productID) throws NoResultException;
    
}
